﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using taigu.WeChat;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace taigu
{
    /*
   * 文件名:IPostCommentsService
   * 功能：评论管理接口
   * 创建时间：2021-11-15
   * 作者:gavin
   */
    /// <summary>
    /// 太古评论接口
    /// </summary>
    public interface IPostCommentsService : IApplicationService
    {
        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="pagedAndSortedResultRequestDto"></param>
        /// <returns></returns>
        Task<ResData<object>> GetListAsync(SearchPostCommentsDto searchPostInfoDto);
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="createPostInfoDto"></param>
        /// <returns></returns>
        Task<ResData<string>> CreateAsync(WeChat.PostCommentsCreateDto createPostInfoDto);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="updatePostInfoDto"></param>
        /// <returns></returns>
        Task<ResData<string>> UpdateAsync(WeChat.PostCommentsUpdateDto updatePostInfoDto);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        /// 
        Task<ResData<string>> DeleteAsync(Guid id);



    }
    
}
